inter module communication

inter module communication

am 10.03.2010 22:00:21 von hashim qaderi

Hello,

Is there an example of how to communicate between apache modules?
Any help would be appreciated.
thanks,
hash

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: inter module communication

am 11.03.2010 08:13:09 von ef-lists

10/03/10 hashim qaderi
>Is there an example of how to communicate between apache modules?
>Any help would be appreciated.

Hi.

The easy way is, communication via request_rec->notes. You have
to pay attention to the module/hook excution order, but you have
to do this anyway for your module to function properly.

Another way are request environment variables.

Or you could use optional functions, but that depends heavily
on what you are trying to achieve. Maybe with a litte more
detail, we could help you out better.

Regards,
Edgar

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: inter module communication

am 11.03.2010 16:01:04 von snmp apache

--00163628438c0e3190048187af51
Content-Type: text/plain; charset=ISO-8859-1

Hi Edgar,

I am trying to call a function from all modules into one module,
for example if i have the following modules,
A,B,C,D. and X

I want to be able to call a function in module X from A,B,C, and D.
your thoughts?

hash

On Thu, Mar 11, 2010 at 2:13 AM, Edgar Frank wrote:

> 10/03/10 hashim qaderi
> >Is there an example of how to communicate between apache modules?
> >Any help would be appreciated.
>
> Hi.
>
> The easy way is, communication via request_rec->notes. You have
> to pay attention to the module/hook excution order, but you have
> to do this anyway for your module to function properly.
>
> Another way are request environment variables.
>
> Or you could use optional functions, but that depends heavily
> on what you are trying to achieve. Maybe with a litte more
> detail, we could help you out better.
>
> Regards,
> Edgar
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--00163628438c0e3190048187af51
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Edgar,

=A0

I am trying to call a function from all modules into one module,

for example if i have the following modules,

A,B,C,D. and X

=A0

I want to be able to call a function in module X from A,B,C, and D. iv>
your thoughts?

=A0

hash





--00163628438c0e3190048187af51--

Re: inter module communication

am 11.03.2010 16:47:42 von Eric Covener

On Thu, Mar 11, 2010 at 10:01 AM, snmp apache wrote:
> Hi Edgar,
>
> I am trying to call a function from all modules into one module,
> for example if i have the following modules,
> A,B,C,D. and X
>
> I want to be able to call a function in module X from A,B,C, and D.
> your thoughts?

See the optional functions various modules export/import in the base
server (mod_ldap, mod_ssl provide optional functions)

--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: inter module communication

am 11.03.2010 19:00:11 von snmp apache

--0016363b8122a2878704818a2fee
Content-Type: text/plain; charset=ISO-8859-1

thanks, this looks promising, i will give it a try.

On Thu, Mar 11, 2010 at 10:47 AM, Eric Covener wrote:

> On Thu, Mar 11, 2010 at 10:01 AM, snmp apache
> wrote:
> > Hi Edgar,
> >
> > I am trying to call a function from all modules into one module,
> > for example if i have the following modules,
> > A,B,C,D. and X
> >
> > I want to be able to call a function in module X from A,B,C, and D.
> > your thoughts?
>
> See the optional functions various modules export/import in the base
> server (mod_ldap, mod_ssl provide optional functions)
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--0016363b8122a2878704818a2fee
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

thanks, this looks promising, i will give it a try.

ail_quote">On Thu, Mar 11, 2010 at 10:47 AM, Eric Covener ><> =
wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>On Thu, Mar 11, 2010 at 10:01 AM, snmp apache < pache@gmail.com">snmp.apache@gmail.com> wrote:


> Hi Edgar,

>

> I am trying to call a function from all modules into one module,

> for example if i have the following modules,

> A,B,C,D. and X

>

> I want to be able to call a function in module X from A,B,C, and D. >
> your thoughts?



See the optional functions various modules export/import in the base<=
br>
server (mod_ldap, mod_ssl provide optional functions)



--

Eric Covener





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--0016363b8122a2878704818a2fee--